Add CAP Java 5.0 OpenRewrite recipes to migration table#2647
Open
rjayasinghe wants to merge 3 commits into
Open
Add CAP Java 5.0 OpenRewrite recipes to migration table#2647rjayasinghe wants to merge 3 commits into
rjayasinghe wants to merge 3 commits into
Conversation
Extend the 'Currently Released CAP Java Migrations' table with the recipes added for the CAP Java 5.0 release (Cap_5.0_Properties, Cap_5.0_OutboxOrdered) and also list the previously missing Cap_4.9_Properties recipe. Add a second table listing the umbrella recipes (Cap_4.8, Cap_4.9, Cap_5.0) and what each one bundles.
Contributor
There was a problem hiding this comment.
better update to latest recipe
StefanHenke
reviewed
Jun 22, 2026
| |[com.sap.cds.services.migrations.UclMigration](#removed-java-apis-4-to-5)|Migrates deprecated UCL result getter and setter methods to the new API.|4.9.0| | ||
| |com.sap.cds.services.migrations.Cap_4.9_Properties|Replaces deprecated application properties with their CAP Java 4.9 equivalents (for example `cds.mcp.autoConfig.*` → `cds.mcp.autoWired.*`, `cds.taskScheduler.enabled` → `cds.outbox.persistent.scheduler.enabled`).|4.9.0| | ||
| |[com.sap.cds.services.migrations.Cap_5.0_Properties](#removed-properties-4-to-5)|Removes application properties that are no longer supported in CAP Java 5.0 and have no replacement (for example `cds.errors.combined`, `cds.sql.collate`, `cds.sql.hana.optimizationMode`, `cds.odataV4.searchMode`, `cds.odataV2.searchMode`, and the removed `cds.multiTenancy.serviceManager.*` flags).|5.0.0| | ||
| |[com.sap.cds.services.migrations.Cap_5.0_OutboxOrdered](#adjusted-defaults-4-to-5)|Adds `ordered: true` to every custom entry under `cds.outbox.services` (except the built-in `DefaultOutboxOrdered`/`DefaultOutboxUnordered`) to preserve the previous behavior, as the default of `cds.outbox.services.<name>.ordered` changes from `true` to `false` in CAP Java 5.0.|5.0.0| |
Contributor
There was a problem hiding this comment.
So far we didn´t put the CAP version as part of recipe name for individual recipes. except the ones for properties and the umbrella ones. But that´s not changeable anymore I guess.
StefanHenke
reviewed
Jun 22, 2026
|
|
||
| In addition, the following umbrella recipes are provided per release. Each one includes all individual recipes for APIs deprecated in this AND previous releases, plus Maven dependency upgrades for all CAP Java modules to the matching version. Run the latest umbrella recipe matching the version of the CAP Java SDK you are upgrading to. | ||
|
|
||
| |Name |Description|Available since| |
Contributor
There was a problem hiding this comment.
The table feels redundant as the table above already specifies the initial release of the recipe. It´s the same information in a different representation. Maybe it is sufficient to tell that each release gets a dedicated umbrella recipe.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extends the Currently Released CAP Java Migrations table in
java/migration.mdwith the new recipes added for the CAP Java 5.0 release, and adds a second table listing the umbrella recipes.Fine-grained recipes added
Cap_4.9_Properties— was already shipped but missing from the table; renamescds.mcp.autoConfig.*→cds.mcp.autoWired.*andcds.taskScheduler.enabled→cds.outbox.persistent.scheduler.enabled.Cap_5.0_Properties— removes properties no longer supported in CAP Java 5.0 (cds.errors.combined,cds.sql.collate,cds.sql.hana.optimizationMode,cds.odataV4.searchMode,cds.odataV2.searchMode, the two removedcds.multiTenancy.serviceManager.*flags).Cap_5.0_OutboxOrdered— addsordered: trueto customcds.outbox.servicesentries to preserve the previous behavior, since the default flips fromtruetofalsein 5.0.Umbrella recipes table added
New table lists
Cap_4.8,Cap_4.9, andCap_5.0, describing which fine-grained recipes each one bundles and which Maven version it upgrades CAP Java dependencies to.Source: recipe YAMLs under
cds-services-recipes/src/main/resources/META-INF/rewrite/.